package com.itcoon.transform4j.demo.web.vo;

import com.itcoon.transform.base.annotation.AssembleModel;
import com.itcoon.transform.base.annotation.AssembleModelProperty;
import com.itcoon.transform4j.demo.domain.Room;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
@AssembleModel(from = Room.class)
public class RoomVCO {

    @AssembleModelProperty
    private String no;

    @AssembleModelProperty
    private List<StudentVCO> studentList;

    @AssembleModelProperty
    private StudentVCO[] students;

    @AssembleModelProperty
    private String[] tags;

    @AssembleModelProperty
    private Map<String, StudentVIO> studentMap;
}
